Optimal. Leaf size=108 \[ -\frac{(2 a-b) \tanh ^{-1}\left (\frac{\sqrt{a+b \sin ^4(c+d x)}}{\sqrt{a}}\right )}{4 a^{3/2} d}-\frac{\csc ^4(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{4 a d}+\frac{\csc ^2(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{a d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.175569, antiderivative size = 108, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.24, Rules used = {3229, 1807, 807, 266, 63, 208} \[ -\frac{(2 a-b) \tanh ^{-1}\left (\frac{\sqrt{a+b \sin ^4(c+d x)}}{\sqrt{a}}\right )}{4 a^{3/2} d}-\frac{\csc ^4(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{4 a d}+\frac{\csc ^2(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{a d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3229
Rule 1807
Rule 807
Rule 266
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{\cot ^5(c+d x)}{\sqrt{a+b \sin ^4(c+d x)}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{(1-x)^2}{x^3 \sqrt{a+b x^2}} \, dx,x,\sin ^2(c+d x)\right )}{2 d}\\ &=-\frac{\csc ^4(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{4 a d}-\frac{\operatorname{Subst}\left (\int \frac{4 a-(2 a-b) x}{x^2 \sqrt{a+b x^2}} \, dx,x,\sin ^2(c+d x)\right )}{4 a d}\\ &=\frac{\csc ^2(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{a d}-\frac{\csc ^4(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{4 a d}+\frac{(2 a-b) \operatorname{Subst}\left (\int \frac{1}{x \sqrt{a+b x^2}} \, dx,x,\sin ^2(c+d x)\right )}{4 a d}\\ &=\frac{\csc ^2(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{a d}-\frac{\csc ^4(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{4 a d}+\frac{(2 a-b) \operatorname{Subst}\left (\int \frac{1}{x \sqrt{a+b x}} \, dx,x,\sin ^4(c+d x)\right )}{8 a d}\\ &=\frac{\csc ^2(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{a d}-\frac{\csc ^4(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{4 a d}+\frac{(2 a-b) \operatorname{Subst}\left (\int \frac{1}{-\frac{a}{b}+\frac{x^2}{b}} \, dx,x,\sqrt{a+b \sin ^4(c+d x)}\right )}{4 a b d}\\ &=-\frac{(2 a-b) \tanh ^{-1}\left (\frac{\sqrt{a+b \sin ^4(c+d x)}}{\sqrt{a}}\right )}{4 a^{3/2} d}+\frac{\csc ^2(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{a d}-\frac{\csc ^4(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{4 a d}\\ \end{align*}
Mathematica [A] time = 2.99334, size = 141, normalized size = 1.31 \[ -\frac{2 a^{3/2} \tanh ^{-1}\left (\frac{\sqrt{a+b \sin ^4(c+d x)}}{\sqrt{a}}\right )-4 a \csc ^2(c+d x) \sqrt{a+b \sin ^4(c+d x)}+b \sqrt{a+b \sin ^4(c+d x)} \left (\frac{a \csc ^4(c+d x)}{b}-\frac{\tanh ^{-1}\left (\sqrt{\frac{b \sin ^4(c+d x)}{a}+1}\right )}{\sqrt{\frac{b \sin ^4(c+d x)}{a}+1}}\right )}{4 a^2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.736, size = 0, normalized size = 0. \begin{align*} \int{ \left ( \cot \left ( dx+c \right ) \right ) ^{5}{\frac{1}{\sqrt{a+b \left ( \sin \left ( dx+c \right ) \right ) ^{4}}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.77907, size = 913, normalized size = 8.45 \begin{align*} \left [-\frac{{\left ({\left (2 \, a - b\right )} \cos \left (d x + c\right )^{4} - 2 \,{\left (2 \, a - b\right )} \cos \left (d x + c\right )^{2} + 2 \, a - b\right )} \sqrt{a} \log \left (\frac{8 \,{\left (b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + 2 \, \sqrt{b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b} \sqrt{a} + 2 \, a + b\right )}}{\cos \left (d x + c\right )^{4} - 2 \, \cos \left (d x + c\right )^{2} + 1}\right ) + 2 \, \sqrt{b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b}{\left (4 \, a \cos \left (d x + c\right )^{2} - 3 \, a\right )}}{8 \,{\left (a^{2} d \cos \left (d x + c\right )^{4} - 2 \, a^{2} d \cos \left (d x + c\right )^{2} + a^{2} d\right )}}, \frac{{\left ({\left (2 \, a - b\right )} \cos \left (d x + c\right )^{4} - 2 \,{\left (2 \, a - b\right )} \cos \left (d x + c\right )^{2} + 2 \, a - b\right )} \sqrt{-a} \arctan \left (\frac{\sqrt{b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b} \sqrt{-a}}{a}\right ) - \sqrt{b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b}{\left (4 \, a \cos \left (d x + c\right )^{2} - 3 \, a\right )}}{4 \,{\left (a^{2} d \cos \left (d x + c\right )^{4} - 2 \, a^{2} d \cos \left (d x + c\right )^{2} + a^{2} d\right )}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cot ^{5}{\left (c + d x \right )}}{\sqrt{a + b \sin ^{4}{\left (c + d x \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cot \left (d x + c\right )^{5}}{\sqrt{b \sin \left (d x + c\right )^{4} + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]